Skip to content

Update from code changes: expand dbt MetricFlow reference#1004

Open
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/4218de93
Open

Update from code changes: expand dbt MetricFlow reference#1004
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/4218de93

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Keeps the dbt MetricFlow integration page in sync with the CLI's native MetricFlow translation as it grows: initial coverage for simple metrics, then ratio/derived/filter/sum_boolean translation, then config.meta passthrough. Also cross-links the page from the Metrics reference.

Changes

  • references/integrations/dbt-metricflow.mdx
    • Requirements subsection: dbt Core 1.6+ (manifest v10), CLI-only (server-side translation on the roadmap).
    • Documented ${TABLE} qualification of bare-column expr values.
    • Documented percentile-value normalization between the legacy 0–1 fraction and the latest 0–100 scale, and that percentile measures without a numeric value are skipped.
    • Supported features table now covers agg: sum_boolean, same-model filter: (as CASE WHEN), same-model ratio metrics (as a number metric with NULLIF-guarded division), and same-model derived metrics.
    • Added a "Notes on filters, ratio, and derived metrics" section explaining same-model requirements, filtered inputs compiled to hidden helpers, and skipped time-offset inputs.
    • Documented config.meta.hidden and config.meta.group_label passthrough on measures and metrics.
    • Rewrote the "not supported yet" table to reflect the current gap set (cumulative / conversion, cross-model ratio/derived inputs, offset_window / offset_to_grain, non-Dimension() filter templates).
    • Expanded the illustrative ecom YAML example to demonstrate create_metric: true, config.meta passthrough, a same-model filter, and a ratio metric.
  • references/metrics.mdx
    • Callout in "Adding metrics to your project" pointing MetricFlow users to the integration page so they don't duplicate metrics in meta.metrics.

Context

Reflects three CLI changes:

Update history

@mintlify

mintlify Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lightdash 🟢 Ready View Preview Jul 15, 2026, 12:45 AM

@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

🤖 Documentation Bot

All checks passed! No issues found.

@mintlify

mintlify Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

Update from code changes updated this PR.

Expanded the MetricFlow page to cover ratio, derived, same-model filters, sum_boolean, and config.meta hidden/group_label passthrough.

Source PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant